package com.pingan.cn.route;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import javax.transaction.Transactional;

@Repository
@Transactional
public interface RouteUserDao extends JpaRepository<RouteUser,String> {

    RouteUser findByUsernameAndPassword(String username, String password);
}
